home *** CD-ROM | disk | FTP | other *** search
/ PC Gamer (Italian) 46 / PC Gamer IT CD 46 2-2.iso / Nba / NBA2000.exe / CABFILE / IDR_CABFILE / Data / 2DScript / MINISCOR.UI < prev    next >
Text File  |  1999-06-01  |  3KB  |  173 lines

  1. "2D\Overlays\Miniscor"
  2.  
  3. //********************
  4. //  Data Container
  5. //********************
  6. DataContainer {
  7.     String "MiniScoreClock" {
  8.         EditBox "MiniScoreClock";
  9.     };
  10.     String "MiniScoreHomeName" {
  11.         EditBox "MiniScoreHomeName";
  12.     };
  13.     String "MiniScoreHomeScore" {
  14.         EditBox "MiniScoreHomeScore";
  15.     };
  16.     String "MiniScoreVisitorName" {
  17.         EditBox "MiniScoreVisitorName";
  18.     };
  19.     String "MiniScoreVisitorScore" {
  20.         EditBox "MiniScoreVisitorScore";
  21.     };
  22.     Int "MiniScoreQuarter" {
  23.         ImageSpinner "MiniScoreQuarter";
  24.         InitialValue 0;
  25.     };
  26. };
  27.  
  28.  
  29. //********************
  30. //  Images
  31. //********************
  32. Image "MiniScoreBack" {
  33.     Filename "Score";
  34. };
  35.  
  36. Image "MiniScoreQuarterFirst" {
  37.     Filename "1stquart";
  38. };
  39.  
  40. Image "MiniScoreQuarterSecond" {
  41.     Filename "2ndquart";
  42. };
  43.  
  44. Image "MiniScoreQuarterThird" {
  45.     Filename "3rdquart";
  46. };
  47.  
  48. Image "MiniScoreQuarterFourth" {
  49.     Filename "4thquart";
  50. };
  51. Image "MiniScorePractice" {
  52.     Filename "practice";
  53. };
  54. Image "MiniScoreFinal" {
  55.     Filename "Final";
  56. };
  57. Image "MiniScoreQuarterOT" {
  58.     Filename "Overtime";
  59. };
  60.  
  61.  
  62. //********************
  63. //  Fonts
  64. //********************
  65. Font "MiniScoreClockFont" {
  66.     Filename "ScrCkFnt";
  67.     Translate " 0123456789:.";
  68.     Kerning 0;
  69. };
  70.  
  71. Font "MiniScoreTeamNameFont" {
  72.     Filename "TmNamFnt";
  73.     Translate " ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz";
  74.     Kerning 1;
  75. };
  76.  
  77. Font "MiniScoreTeamScoreFont" {
  78.     Filename "TmScrFnt";
  79.     Translate " 0123456789";
  80.     Kerning 1;
  81. };
  82.  
  83.  
  84. //********************
  85. //  Styles
  86. //********************
  87. Style "MiniScoreStyle" {
  88.     Image "MiniScoreBack";
  89. };
  90.  
  91. Style "MiniScoreClockStyle" {
  92.     Font "MiniScoreClockFont";
  93. };
  94.  
  95. Style "MiniScoreTeamNameStyle" {
  96.     Font "MiniScoreTeamNameFont";
  97. };
  98.  
  99. Style "MiniScoreScoreStyle" {
  100.     Font "MiniScoreTeamScoreFont";
  101. };
  102.  
  103. Style "MiniScoreQuarterStyle" {
  104.     Image "MiniScoreQuarterFirst";
  105.     Image "MiniScoreQuarterSecond";
  106.     Image "MiniScoreQuarterThird";
  107.     Image "MiniScoreQuarterFourth";
  108.     Image "MiniScoreQuarterOT";
  109.     Image "MiniScorePractice";
  110.     Image "MiniScoreFinal";
  111. };
  112.  
  113.  
  114. //********************
  115. //  Edit Boxes
  116. //********************
  117. EditBox "MiniScoreHomeName" {
  118.     Style "MiniScoreTeamNameStyle";
  119.     Position [40, 38];
  120.     Size [93, 20];
  121. };
  122.  
  123. EditBox "MiniScoreHomeScore" {
  124.     Style "MiniScoreScoreStyle";
  125.     Position [147, 38];
  126.     Size [35, 18];
  127. };
  128.  
  129. EditBox "MiniScoreVisitorName" {
  130.     Style "MiniScoreTeamNameStyle";
  131.     Position [40, 18];
  132.     Size [93, 20];
  133. };
  134.  
  135. EditBox "MiniScoreVisitorScore" {
  136.     Style "MiniScoreScoreStyle";
  137.     Position [147, 18];
  138.     Size [35, 118];
  139. };
  140.  
  141. EditBox "MiniScoreClock" {
  142.     Style "MiniScoreClockStyle";
  143.     Position [135, 58];
  144.     Size [50, 16];
  145. };
  146.  
  147.  
  148. //********************
  149. //  Image Spinners
  150. //********************
  151. ImageSpinner "MiniScoreQuarter" {
  152.     Style "MiniScoreQuarterStyle";
  153.     Position [58, 57];
  154. };
  155.  
  156.  
  157. //********************
  158. //  Groups
  159. //********************
  160. Group "MiniScore" {
  161.     Root;
  162.     Style "MiniScoreStyle";
  163.     Position [0, 0];
  164.     Children {
  165.         EditBox "MiniScoreHomeName";
  166.         EditBox "MiniScoreHomeScore";
  167.         EditBox "MiniScoreVisitorName";
  168.         EditBox "MiniScoreVisitorScore";
  169.         EditBox "MiniScoreClock";
  170.         ImageSpinner "MiniScoreQuarter";
  171.     };
  172. };
  173.